package com.libc.yygh.cmn.service;

import com.libc.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * *
 * Created with Description:
 *
 * @version 1.0 <br>
 * @packagename: com.libc.yygh.cmn.service.imp<br>
 * @author: LiBencheng <br>
 * @computer: licheng <br>
 * @date: Created on 2022/6/5 23:47 <br>
 */
public interface DictService
{

    //根据数据id查询子数据列表
    List< Dict > findChlidData(Long id);

    //导出数据字典接口
    void exportDictData(HttpServletResponse response);

    //导入数据字典
    void importDictData(MultipartFile file);

    //根据dictcode和value查询
    String getDictName(String dictCode, String value);

    //根据dictCode获取下级节点
    List< Dict > findByDictCode(String dictCode);
}
